import { ref } from "vue";

const useCount = () => {
  const count = ref(3);
  const increment = () => {
    count.value++;
  };
  const decrement = () => {
    count.value--;
  };

  return [count, increment, decrement];
};

export default useCount;
